<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="http://at.alicdn.com/t/font_1369980_xg32nhyckuj.css">
    <style>
        input{
            -webkit-appearance: none;
            border: none;
            outline: none;
            cursor: pointer;
        }
        .rate-content{
            display: flex;
            flex-flow: row-reverse;
        }
        .rate-content input[name='rate']{
            font-family: "iconfont" ;
            font-size: 30px;
            padding-right: 10px;
        }
        .rate-content input[name='rate']::after{
            content: "\e60f";
            color: #999;
        }
        input[name='rate']:checked::after{
            content: "\e623";
            color: #ffa822;
            transition: color .4s ease;
        }
        input[name='rate']:checked ~ input[name='rate']::after{
            content: "\e623";
            color: #ffa822;
            transition: color .4s ease;

        }
        input[name='rate']:hover,input[name='rate']:hover{
            transform: scale(1.2);
        }
        input[name='rate']{
            transition: transform .2s ease;
        }
    </style>
</head>
<body>
    <div class="rate-content">
        <input type="radio" name="rate">
        <input type="radio" name="rate">
        <input type="radio" name="rate">
        <input type="radio" name="rate">
        <input type="radio" name="rate">
    </div>
</body>
</html>